home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / basic / apg_2.exe / README.TXT < prev   
Text File  |  1993-03-17  |  7KB  |  159 lines

  1.                                  APG
  2.                    The Automatic Program Generator
  3.                           From S&M Software
  4.  
  5.  
  6. Installation Note:
  7.  
  8. No installation program is required.  Simply create a directory and copy
  9. all of the files contained within the ZIP file.  A separate directory is
  10. recommended to prevent the possible erasure of other files un-related to
  11. APG. BTW - We included a sample series of programs which we compiled to
  12. help with you understanding of their capabilities. 
  13.  
  14. General babble and other nonsense:
  15.  
  16. The purpose of APG is to allow for the simple and easy creation of
  17. programs that create, maintain and print data files.  
  18.  
  19. These maintenance programs do not contain fancy graphics or other
  20. useless "whistle and bells" found in typical PC based programs.  In
  21. fact, they were designed after Input screens found on mini and main
  22. frame computers.
  23.  
  24. They feature several important functions:
  25.  
  26. Numerics are declared to your desired length saving space in the file
  27. and on print or screen reports.  The numeric inputs are bullet proof. 
  28. Auto placement of the decimal is included.
  29.  
  30. The Fields are numerically maintainable.  For example suppose you had to
  31. change the area code for part of your data base.  You would call up the
  32. first record, enter 17 (if the area code field was the seventeenth
  33. field) and change the area code.  Page Down and your cursor remains in
  34. field seventeen of the next record.  Compare this to most PC programs
  35. that would require you to Tab or Enter seventeen times in each record to
  36. get to the desired field.
  37.  
  38. Deleted records are not displayed but can be restored in case of error.
  39.  
  40. The above features ensure the building of Input screens for professional
  41. use by operators who are required to be fast.  In particular, the
  42. screens are designed for typists and 10-key pad operators.
  43.  
  44. Most important, the entire output of this program is in Microsoft
  45. QuickBASIC or QBASIC.  If you program,  you can modify any part of this
  46. code to suit your individual need.  Use APG to do the grunt work to
  47. develop an application program of almost any type.  For example using
  48. APG to create a simple inventory program (with an inventory, history,
  49. customer, ship to, and vendor files and a dozen print programs) would
  50. save you from typing approximately 6000 lines of QuickBASIC code.
  51.  
  52. We have included several PHONE.* files as examples.  Please use PHONE.USE 
  53. and PHONE.US1 for examples of the correct specifications required by APG.  
  54. Use APG to create the source code for PHONE and run or compile the code.
  55. You may run our compiled versions to see the advantages of .EXE if you 
  56. don't have the compiler.
  57.  
  58. There are three steps before running the QuickBASIC compiler or QBASIC
  59. interrupter.   First, enter information about the new program title(s),
  60. data file name, and the exit program.  Then enter specific information
  61. about each field that will be displayed.  This information must include
  62. the size of the field, type (string or numeric) and the screen location. 
  63.  
  64.  
  65. Then if desired, you can specify up to 9999 separate print reports. The
  66. report definition process allows you to specify which fields and in what
  67. order they should be printed.  It allows for multiple field sorting as
  68. well as specifications for sub-totals and totals.  
  69.  
  70.                        Generated screen layout
  71.   
  72.                      column1....................column80
  73.                      row 01┌───────────────────────────┐  
  74.                      row 02│         [title]           │
  75.                       .    │         [title]           │
  76.                       .    │ [field]                   │
  77.                       .    │ [field]                   │
  78.                       .    │ [field]                   │
  79.                       .    │                           │
  80.                      row 24│     [Program options]     │
  81.                      row 25└───────────────────────────┘
  82.                      column1....................column80
  83.  
  84.  
  85. Basic program operations support field numbers.  Just enter the number
  86. of the field that you wish to maintain.  The Export option will create a
  87. comma delimited file with the extension "EXP".  This file is suitable
  88. for import to many applications.
  89.  
  90. Data Base Definition:
  91.  
  92. The process of defining the parameters to generate a program with APG
  93. always begin here.  This selection consists of two steps.  In the first
  94. step you must specify the name of the new data base.  Choose this name
  95. carefully because it will be used not only for reference in APG but it
  96. will also become the name of the programs and data files.  
  97.  
  98. The second step is to specify where on the PC screen fields should be
  99. placed and what should they be named.  Think of these fields as pieces
  100. of information which should be grouped together as a record.
  101.  
  102. For example:  
  103.  
  104. Name  
  105. Address  
  106. City  
  107. State  
  108. Zip  
  109. Phone 
  110.  
  111. form a record for a single person having all of these elements.  
  112.  
  113. Generate Data Base:
  114.  
  115. After you have entered all of the necessary information from the
  116. previous step you can create the actual QuickBASIC source code.  After
  117. designing and generating your last screen exit to the DOS prompt.  Enter
  118. the name of the data base (as selected in the first step) and your
  119. program will execute.  
  120.  
  121. Report Definition:
  122.  
  123. This section may be used to create multiple reports from the data base
  124. that has been created.  
  125.  
  126. Create Report Source:
  127.  
  128. This process is akin to the "Generate Data Base" selection.  
  129.  
  130. NOTE: the general order of events is:
  131.  
  132. Data Base Definition:
  133. Generate Data Base:
  134. Report Definition:
  135. Create Report Source:
  136.  
  137. APG is a copyrighted program and is owned by S&M Software.  You are
  138. granted a license to use the software and the derivative program for a
  139. period of thirty days. After the thirty day period, if you continue to
  140. use APG or the derivative programs you must remit to S&M Software the
  141. current license amount.  Failure to remit the license when you continue
  142. to use these programs is a violation of Federal law and deprives S&M
  143. Software of their hard earned money.  You assume all risk by using APG
  144. and under no circumstances will S&M Software be responsible or liable
  145. for any damages or loss which may result from the use of APG.
  146.  
  147. You may contact S&M Software at 708-485-4910 or leave a message at:
  148.  
  149. Compuserve
  150. 72301,3551
  151.  
  152. The current license amount is $29.95 and a check may be sent to:
  153.  
  154. S&M Software
  155. 8844 W 47th Street
  156. Brookfield, IL 60513
  157.  
  158.  
  159.